﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ashlen.Portal.Core;

namespace Ashlen.Portal.Core.DataInterfaces
{
    public interface IAdministrativeDao
    {
        object GetRoles();
        void SaveRole(string applicationId, Guid? roleId, string roleName, string description);
        void DeleteRole(Guid roleId);

        object GetUsers(string partialUsername);
        object GetUsersWithRoles(string partialUsername);
        void DeleteUser(Guid userId);
        void DeleteUserFromRole(Guid userId, Guid roleId);
        void AddUserToRole(Guid userId, Guid roleId);
    }
}
